﻿using DevExpress.Xpf.Charts;
using System.Collections.Generic;
using System.Windows.Data;

namespace TeBigCommonUI.Items
{
    /// <summary>
    /// Interaction logic for Bar2D.xaml
    /// </summary>
    public partial class RadarAreaChart : XYDiagramChartControl
    {
        public RadarAreaChart()
        {
            InitializeComponent();
        }

        protected override Series CreateSeriesFromDataSource(IList<SeriesDataSource> source, int index)
        {
            return new RadarAreaSeries2D()
            {
                MarkerVisible = false,
            };
        }

        protected override void OnInitChart()
        {
            InitChartInternal(chart, chart_diagram);
        }
    }
}